# import matplotlib.pyplot as plt
# score = [107,77,94,87,90,95,82,83,86,101,85,71,96,99,100,89,101,110,97,86,85,83,101,75,80,79,102,91,88,66,76,69,88,60,89,60,70,71,56,83,82,68,76,95,83,65,54,78,68,71,70,63,57,43,71,65,85,40]
# plt.rcParams['font.sans-serif']=['SimHei']
# plt.xlabel('分数')
# plt.ylabel('学生数量')
# plt.title('学生语文成绩分布直方图')
# plt.hist(score,bins=range(0, 150, 10), facecolor='red', edgecolor='black')
# plt.show()
#
#
#
# import matplotlib.pyplot as plt
# score = [107,77,94,87,90,95,82,83,86,101,85,71,55,69,56,18,110,97,86,85,83,101,75,80,79,102,91,88,66,76,69,88,60,89,60,70,71,56,83,82,68,76,95,83,65,54,78,68,71,70,63,57,43,71,65,85,40]
# plt.rcParams['font.sans-serif']=['SimHei']
# plt.xlabel('分数')
# plt.ylabel('学生数量')
# plt.title('学生数学成绩分布直方图')
# plt.hist(score,bins=range(0, 150, 10), facecolor='blue', edgecolor='red')
# plt.show()




import numpy as np
arr1 = np.array([1,2,3])
print('一维数组arr1: \n', arr1)
arr2 = np.array((4.5, 5.6, 6.8), dtype='int32')
print('一维数组arr2: \n', arr2)
arr3 = np.array([[1,2,3],[4,5,6]],dtype='float32')
print('2x3的二维数组arr3: \n',arr3)